#include <iostream>
typedef long long ll;
using namespace std;

int main(){
    double a,b;
    while (cin>>a>>b){
        if (a==b)
            cout<<"YES"<<endl;
        else
            cout<<"NO"<<endl;
    }
    return 0;
}